<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
	<Source>
		<Name>crengine-ng</Name>
		<Homepage>https://gitlab.com/coolreader-ng/crengine-ng</Homepage>
		<Packager>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Packager>
		<License>GPL-2</License>
		<IsA>library</IsA>
		<PartOf>office.misc</PartOf>
		<Summary>crengine-ng is cross-platform library designed to implement text viewers and e-book readers.</Summary>
		<Description>
			Supported document formats: fb2, fb3, epub (without DRM), rtf, doc, docx, odt, htm, chm, pdb, mobi (without DRM), txt, trc, prc. In fact, this is a fork of the CoolReader project.
		</Description>
		<Archive sha1sum="b82ba23a299c399fcec288cdf055fcac3617c518" type="tarbz2">
			https://gitlab.com/coolreader-ng/crengine-ng/-/archive/0.9.8/crengine-ng-0.9.8.tar.bz2
		</Archive>
		<BuildDependencies>
			<Dependency>cmake</Dependency>
			<Dependency>ninja</Dependency>
			<Dependency>zlib-devel</Dependency>
			<Dependency>zstd-devel</Dependency>
			<Dependency>cmark-devel</Dependency>
			<Dependency>libpng-devel</Dependency>
			<Dependency>libX11-devel</Dependency>
			<Dependency>fribidi-devel</Dependency>
			<Dependency>utf8proc-devel</Dependency>
			<Dependency>freetype-devel</Dependency>
			<Dependency>harfbuzz-devel</Dependency>
			<Dependency>fontconfig-devel</Dependency>
			<Dependency>libunibreak-devel</Dependency>
			<Dependency>libjpeg-turbo-devel</Dependency>
		</BuildDependencies>
		<Patches>
			<!-- <Patch level='1'></Patch> -->
		</Patches>
	</Source>

	<Package>
		<Name>crengine-ng</Name>
		<RuntimeDependencies>
			<Dependency>zlib</Dependency>
			<Dependency>zstd</Dependency>
			<!-- <Dependency>cmark</Dependency> -->
			<Dependency>libgcc</Dependency>
			<Dependency>libpng</Dependency>
			<Dependency>libX11</Dependency>
			<Dependency>fribidi</Dependency>
			<Dependency>utf8proc</Dependency>
			<Dependency>freetype</Dependency>
			<Dependency>harfbuzz</Dependency>
			<Dependency>fontconfig</Dependency>
			<Dependency>libunibreak</Dependency>
			<Dependency>libjpeg-turbo</Dependency>
		</RuntimeDependencies>
		<Files>
			<Path fileType="library">/usr/lib/libcrengine-ng.so</Path>
			<Path fileType="library">/usr/lib/libcrengine-ng.so.5</Path>
			<Path fileType="library">/usr/lib/libcrengine-ng.so.0.9.8</Path>
			<Path fileType="data">/usr/share/crengine-ng</Path>
			<Path fileType="data">/usr/share/crengine-ng/hyph</Path>
			<Path fileType="data">/usr/share/doc/crengine-ng</Path>
		</Files>
	</Package>

	<Package>
		<Name>crengine-ng-devel</Name>
		<RuntimeDependencies>
			<Dependency>zlib-devel</Dependency>
			<Dependency>zstd-devel</Dependency>
			<Dependency>libpng-devel</Dependency>
			<Dependency>fribidi-devel</Dependency>
			<Dependency>utf8proc-devel</Dependency>
			<Dependency>freetype-devel</Dependency>
			<Dependency>harfbuzz-devel</Dependency>
			<Dependency>fontconfig-devel</Dependency>
			<Dependency>libunibreak-devel</Dependency>
			<Dependency>libjpeg-turbo-devel</Dependency>
			<Dependency release="current">crengine-ng</Dependency>
		</RuntimeDependencies>
		<Files>
			<Path fileType="header">/usr/include/crengine-ng</Path>
			<Path fileType="data">/usr/lib/cmake/crengine-ng</Path>
			<Path fileType="data">/usr/lib/pkgconfig/crengine-ng.pc</Path>
		</Files>
	</Package>

	<History>
		<Update release="3">
			<Date>2023-04-20</Date>
			<Version>0.9.8</Version>
			<Comment>Version bump.</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="2">
			<Date>2023-01-29</Date>
			<Version>0.9.6</Version>
			<Comment>Version bump</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="1">
			<Date>2023-01-21</Date>
			<Version>0.9.5</Version>
			<Comment>First build.</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
	</History>
</PISI>
